package com.huadi.firematerialident.po;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class NormalUser {
    private String NUserID;
    private String NUserCount;
    private String NPassword;
    private String NName;
    private String NSex;
    private LocalDate NBirth;
    private String NPhone;
    private boolean LogicalAddDel;
    private LocalDateTime LastModification;

    public String getNUserID() {
        return NUserID;
    }
    //重新定义了用户id的生成方式为随机生成，在注册时就会产生
    public void setNUserID() {
        long time=System.currentTimeMillis();
        String s= String.valueOf(time);
        String ss=s.substring(3);
        this.NUserID = "N"+ss;
    }

    public void setNUserID(String NUserID) {
        this.NUserID = NUserID;
    }

    public String getNUserCount() {
        return NUserCount;
    }

    public void setNUserCount(String NUserCount) {
        this.NUserCount = NUserCount;
    }

    public String getNPassword() {
        return NPassword;
    }

    public void setNPassword(String NPassword) {
        this.NPassword = NPassword;
    }

    public String getNName() {
        return NName;
    }

    public void setNName(String NName) {
        this.NName = NName;
    }

    public String getNSex() {
        return NSex;
    }

    public void setNSex(String NSex) {
        this.NSex = NSex;
    }

    public LocalDate getNBirth() {
        return NBirth;
    }

    public void setNBirth(LocalDate NBirth) {
        this.NBirth = NBirth;
    }

    public String getNPhone() {
        return NPhone;
    }

    public void setNPhone(String NPhone) {
        this.NPhone = NPhone;
    }

    public boolean getLogicalAddDel() {
        return LogicalAddDel;
    }

    public void setLogicalAddDel(boolean logicalAddDel) {
        LogicalAddDel = logicalAddDel;
    }

    public LocalDateTime getLastModification() {
        return LastModification;
    }

    public void setLastModification(LocalDateTime lastModification) {
        LastModification = lastModification;
    }
}

